﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace xiaolanshu.Components
{
    public partial class OKButton : Sunny.UI.UIButton
    {
        public OKButton()
        {
            InitializeComponent();
            Cursor = System.Windows.Forms.Cursors.Hand;
            FillColor = System.Drawing.Color.Maroon;
            FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            IsScaled = false;
            MinimumSize = new System.Drawing.Size(1, 1);
            Radius = 20;
            RectColor = System.Drawing.Color.Transparent;
            RectDisableColor = System.Drawing.Color.Transparent;
            RectHoverColor = System.Drawing.Color.Transparent;
            RectPressColor = System.Drawing.Color.Transparent;
            RectSelectedColor = System.Drawing.Color.Transparent;
            Size = new System.Drawing.Size(184, 85);
            Style = Sunny.UI.UIStyle.Custom;
        }

        protected override void OnPaint(PaintEventArgs pe)
        {
            base.OnPaint(pe);
        }
    }
}
